<?php use_helper('Javascript')?>
<div class="module_title">All Contacts</div>
<div id="contact_menu_bar" class="menu_bar">
  <?php 
    echo 
      link_to_remote(
        'New', 
        array(
          'url'=>'contact/createContact',
          'update'=>sfConfig::get('app_windows_main_id'),
          'complete'=>"menuSelect('contact_menu_bar','contact_menu_bar_new');",
        ),
        array(
          'class'=>'menu_unselected',
          'id'=>'contact_menu_bar_new',
        )
      )
  ?>
  <?php 
    echo 
      link_to_remote(
        'Search', 
        array(
          'url'=>'contact/searchContact',
          'update'=>sfConfig::get('app_windows_main_id'),
          'complete'=>"menuSelect('contact_menu_bar','contact_menu_bar_search');",
        ),
        array(
          'class'=>'menu_unselected',
          'id'=>'contact_menu_bar_search',
        )
      )
  ?>
</div>
<div id="<?php echo sfConfig::get('app_windows_main_id')?>" class="<?php echo sfConfig::get('app_windows_main_class')?>">
</div>
